Data flow processor with data processing and next address determination being made in parallel

ABSTRACT

A data flow processor which is so constructed that the destination node number in a program memory is stored at a relative address from, for example, a stored address of the present instruction, and a storing address for the next instruction is obtained by adding the relative address of the next instruction to the address of the present instruction. Hence, an amount of data of storing address of instruction to be executed next and included in the respective instructions is reduced, whereby an amount of hardware at the program memory is reduced and the memory access time is contracted.

This is a continuation of application Ser. No. 07/450,653 filed Dec. 13, 1989, now U.S. Pat. No. 5,218,706.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a data flow processor adopting a system to drive processing on the basis of interdependence between the data to be processed.

2. Description of Related Art

A typical example of the conventional data flow processor is disclosed in Pages 19 to 22, digest of technical papers pets of lecture of Development Result Presentation Conference for Scientific Technique High Speed Computation System Research (June 25, 1984) and Pages 486 to 490, digest of technical papers (in English) of IEEE COMPCON '84 SPRING. These public documents all describe construction and operation of the data flow processor called the Sigma-1. The prior art will be described on the basis of these public documents as follows:

FIG. 1 is a block diagram of the above-mentioned conventional data flow processor.

The data flow processor comprises a network interface 14 of interface with the exterior of the processor, a matching memory 10 for detecting from the data to be processed two data coincident with each other in the destination node number, an instruction fetching unit 15 for fetching the operation instruction code pointed by the node number, an instruction executing unit 12 for executing the processing in accordance with the instruction code, a destination designating unit 16 for designating the next destination node number of the data after processed, and data paths connecting therethrough these units.

FIG. 2 shows an example of a program (data floe graph) for explaining concrete operation of the conventional data flow processor.

The data flow graph is so constituted that data A and B are added at the node #0, the resultant data G is multiplied by another data C at the node #2 to obtain the resultant data I, while, data D and E are added at the node #1, the resultant data H is multiplied by another data F at the node #4 so as to obtain the resultant data J . . . , data W is multiplied by X at the node #7096, the resultant data Y and the previously obtained data I are added at the node #7097 so as to obtain the resultant data Z, and so on.

A packet A(201) (data having the tag information) inputted from the exterior through the network interface 14 comprises destination node number <0> and data [A]. The packet 201 is delivered to the matching memory 10, and simultaneously the destination node number <0> (203) in the packet 201 is sent also to the instruction fetching unit 15. Assuming that a packet B having data [B]of the object to the dyadic operation has already been inputted and waits in the matching memory 10, the destination nodes of the two packets A and B are coincident with each other at the node #0, so that the matching memory 10 outputs a packet 206 of a pair of data [A]and [B].

On the other hand, at the instruction fetching unit 15, an instruction code "+"(205) of the content of address corresponding to the node number <0> is read and outputted.

Memory configuration of the instruction fetching unit 15 is shown in FIG. 3(a).

Next, the destination node number <0> inputted to the instruction fetching unit 15 is delivered intact to the destination designating unit 16 as the node number <0> (204). The instruction code "+"(205) read out at the instruction fetching unit 15 together with the packet 206 of data pair [A] and [B] is given as a packet 207 to the instruction executing unit 12, and at that time at the destination designating unit 16 is accessed and delivers the code <2> (208) representing the node #2 to which the resultant data of addition of operation corresponding to the node number <0> in the data flow graph shown in FIG. 2 is to be sent.

Memory configuration of the destination designating unit 16 is shown in FIG. 3(b).

Simultaneously, the instruction executing unit 12 computes [A]+[B] and the operation resultant data [G](209) is outputted therefrom. The output 208 of the destination designating unit 16 and the output 209 of the instruction executing unit 12, in other words, the destination node number <2> and data [G], pass as a packet 210 through the network interface 14 and is sent again to the instruction fetching unit 15 and matching memory 10.

The aforesaid chain of processes executes operations corresponding to all the nodes of data flow graph shown in FIG. 2 and execution of program ends, and at that time the node where the relation of interdependence between data exists, for example, the processings at the nodes #0 and #2 are executable sequentially only in the order of the above. However, the node having no relation of inter dependence between data, for example, the processing at the nodes #0 and #1 is executable in parallel as far as the processing resource allows.

In addition, the relation of interdependence between data means that, in a relation between the two nodes, the processing at one node is completed so that input data required to process the other is supplied for the first time.

Memory configuration of the instruction fetching unit 15 and destination designating unit 16 are shown in FIG. 3(a) and FIG. 3(b). Since a bit width of each information is not clarified in the aforesaid public document, a bit width of instruction code is assumed to be 4 bits and that of destination node number to be 16 bits. Also, since the document does not concretely describe the data copy operation, the data copy is assumed to use a widely well-known method.

A most significant bit "COPY" in the memory within the destination designating unit 16 is copy bit, which, in the case where the operation result at the node in the data flow graph shown in FIG. 2 is sent to a plurality of nodes, executes the data copy to give the destination node number to each data. For example, the result of operation at the node #2 is sent to both the nodes #7097 and #5, so that a logical "1" is stored in a second address copy bit in the memory corresponding to the result. In this case, the destination node number #7097 is read and concatenated to the result of operation [1] and outputted, and thereafter the next address (a third address) is continuously read and then the destination node number #5 is concatenated to the same result of operation [1] and outputted.

The aforesaid conventional data flow processor has a problem in that the size of program memory is larger.

A von Neumann type computer now widely used carries out processing sequentially in the order described in the program, whereby one register so called the program counter manages executing addresses in a unifying manner. Accordingly, the address of the next instruction (jump address) to be executed except for a branch instruction need not be particularly designated, and the size of program memory smaller than the data flow processor can store program of the same contents. On the contrary, in a case of data flow processor, since the respective instructions are processed in parallel, it is impossible to manage the executing address in a unifying manner. Therefore, the data flow processor is essentially required to designate address of instruction to be next executed (destination node number) with respect to all the instructions, which causes size of program memory to be enlarged. In the aforesaid conventional example, 16 bits among 21 bits (instruction code 4 bits+destination node number 17 bits) in bit width per one instruction are occupied by the destination node number.

SUMMARY OF THE INVENTION

In the light of the above problem, the present invention has been designed. A main object thereof is to provide a data flow processor which contracts size of the program memory so as to expect reduction in the hardware size of the same and simultaneously to expect an improvement in performance by contracting a memory access time following the contraction of the size of memory.

The data flow processor of the invention has structure to store the destination node number in the program memory at, for example, relative address (dislocation) from the stored address of the present instruction. Such structure can obtain stored address for the next instruction by processing of adding the relative address of the next instruction to the address of present instruction, thereby contracting the size of program memory.

The above and further objects and features of the invention will more fully be apparent from the following detailed description with accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram exemplary of the conventional data flow processor,

FIG. 2 is a typical view exemplary of a program (data flow graph) executed by the conventional data flow processor, showing the same program as FIG. 5 except for allocation of the node number,

FIG. 3(a) is a configuration diagram of a memory at an instruction fetching unit at the conventional data flow processor,

FIG. 3(b) is a typical configuration diagram of a memory at a destination designating unit, both FIGS. 3(a) and 3(b) showing the memory contents in the case where the program shown in FIG. 2 is stored,

FIG. 4 is a block diagram of an embodiment of a data flow processor of the invention,

FIG. 5 is a typical view exemplary of a program (data flow program) executed by the data flow processor of the invention,

FIG. 6 is a typical view showing memory configuration of program of the data flow processor of the invention, and more concretely the memory content in the case where the program in FIG. 5 is stored,

FIG. 7 is a flow chart showing a detailed procedure at the program of the data flow processor of the invention,

FIG. 8 is a graph showing distribution of values of the relative destination node number, and

FIG. 9 is a schematic representation of a map of program memory at the running state of multitasking at a multiprocessor constitution.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Next, an embodiment of a data flow processor of the invention will be detailed in accordance with the accompanying drawings.

FIG. 4 is a block diagram of an embodiment of a data flow processor of the invention.

The data flow processor of the invention comprises a network interface 14 of interface to the exterior, a matching memory 10 as a coincidence detecting unit for detecting from data to be processed two data coincident with each other in the destination node number, a program memory 11 having two functions of fetching the operation instruction code pointed by the node number and of designating the next destination node number of data after the processing, an instruction executing unit 12 as a processing unit, for executing the processing in accordance with the instruction code, an adder 13 as operation means for updating the destination node number, and data paths for connecting these components.

Next, explanation will be given in the case where the data flow processor of the invention executes the program (data flow graph) in FIG. 5. In addition, the data flow graph shown in FIG. 5 is quite the same as that in FIG. 2, but different therefrom in allocation of the node number the convenience of explanation of the invention.

The data flow graph is so constructed that data A and B are added at the node #0, the resultant data G is multiplied by another data C at the node #2 so as to obtain the resultant data I, on the other hand, data D and E are added at the node #1, the resultant data H is multiplied by another data F at the node #5 so as to obtain the resultant data J . . . , data W is multiplied by data X at the node #7096, the resultant data Y and the previously obtained data I are added at the node #7097 so as to obtain the resultant data Z . . . .

A packet 101 inputted from the exterior through the network interface 14 includes the destination node number <0>, data [A] and an instruction code "+".

The data flow processor of the invention carries out pipeline processing of two cycles. A first stage thereof is data queuing at the matching memory 10. The packet 101 inputted from the exterior is sent to the matching memory 10, and at that time, in the case where a packet including data [B] objective to the dyadic operation does not yet arrive, the inputted packet 101 is temporarily stored in the matching memory 10 and waits arrival of packet including data [B]. Unlikely, in the case where another packet including data [B] arrives and is stored in the matching memory 10, the destination node numbers <0> of the two packets are detected to be coincident with each other, so that a packet 102 adding data [B] to the input packet. 101 is delivered from the matching memory 10.

The destination node number <0>(103) among the information included in the packet 102 is delivered to the program memory 11 and an adder 13 to be discussed below, the residual data [A] and [B] and instruction code "+" are delivered as a packet 104 to the instruction executing unit 12.

At the instruction executing unit 12, the data [A] and [B] are added in accordance with the instruction code "+" so that the addition resultant data [G](107) is outputted.

On the other hand, processing at the program memory 11 to be executed in parallel to the processing at the instruction executing unit 12 will be described as follows:

Referring to FIG. 8, the memory configuration of program memory 11 at the data flow processor of the invention is shown.

In the memory in FIG. 6, the most significant bit "EXT" of each word is an extended addressing flag to be discussed below.

Bit "COPY" in low order thereof has the same meaning as "COPY" bit in the conventional one. When "COPY" bit is a logical "1", there are a plurality of destination nodes of operation result, which represents that the instruction code regarding each destination node and the information of destination node number are stored in the next address on and after.

An instruction code (OPCODE) to be executed at the next cycle are stored in 4 bits in low order following the "COPY" bit, and destination node number at the relative address (RNODE) with respect to the present node number is stored in 6 bits in further low order.

Concrete operation of the data flow processor of the invention as above-mentioned will be described.

When the packet 101 is coincidence-detected at the matching memory 10 and the packet 102 is outputted, the node number <0>(103) of packet 102 is inputted to the program memory 11. Therefore, the 0 address of memory shown in FIG. 6 is accessed and the instruction code "*" and relative destination node number <2> are read, thereby being written in the instruction code register (OPC-REG) 131 and destination node number register (DEST-REG) 132 respectively.

The instruction code is outputted intact from the instruction code register 131. On the other hand, the relative destination node number <2> is delivered from the destination node number register 132 to the adder 13 and added thereby to the previously inputted node number <0>(103) to thereby obtain the absolute value <2>(106) of the destination node number.

A packet 108 constituted of the instruction code thus obtained, destination node number <2> and data [G] outputted from the instruction executing unit 12, is again supplied to the matching memory 10 through the network interface 14. Such processing is repeated to execute the entire program.

The present invention, however, limits to 6 bits the bit width of program memory 11 for storing the relative destination node number, whereby when a value of actual relative destination node number exceeds 255 (=⁶ -1), an overflow occurs.

For example, in the data flow graph in FIG. 5, the relative destination node number corresponding to the arrow from the node #2 to the node #7097 corresponds to the aforesaid overflow. In such case, the present invention is so constituted that the significant bit "EXT" of program memory corresponding to each node number is a logical "1", whereby the next address is usable as the extended addressing bit area for storing the overflowed digits.

Next, explanation will be given on the case where the input data [G] and [C] required for processing at the node #2 in FIG. 5 are arranged so that the packet comprising the destination node number <2>, instruction code "*" and data [G] and [C], is outputted from the matching memory 10.

As the above-mentioned, the instruction code and data are sent to the instruction executing unit 12 and they are multiplied each other and the resultant data [I] is outputted. In parallel thereto, the destination node number <2> is sent to the program memory 11 and the destination node number is read out. A flowchart in FIG. 7 shows detailed logical operation of program memory 11 when the inputted node number is <N>.

The routine depicted in FIG. 7 is performed by an address controller 133 which receives the EXT and COPY bits from the program memory and controls the memory and OPC-REG 11 and 131.

In the flow chart, "READ M" represents reading operation for M address of the memory; bit (5:0) and the like, a bit array composed of bits 5 to bit 0; and "EXT" and "COPY", values of the extended addressing flag bit and of the copy flag bit respectively.

When the packet having the destination node number <2> is inputted to the program memory 11, the content of the second address of program memory is read (in a step S4). Within the read-out contents, the instruction code "+" is written in the instruction code register 131 and the relative destination code number <4> into the least significant 6 bits, that is, the bits (5:0), of the destination node number register 132 respectively (in steps S5 and S6).

The "EXT" bit or readout word is a logical "0" (in step S7), whereby the result <6> of adding the value <4> of the destination node number register 132 and the inputted node number <2> by the adder are outputted as the revised destination node number (in step S8). The revised destination node number is concatenated with the output of OPC-REG 131 and IEU 12 to form the revised output packet 108.

At this time, since the "COPY" bit of readout word is a logical "1", the readout address <2> is incremented (in a step S10), the loop count <L> and the content of destination node number register 132 are cleared (in steps S2 and S3), and thereafter the third address of address after incremented is read-out (in a step S4).

In the same way as the first readout the instruction code "+" and the relative destination node number <55> (="110111") among the readout words are written in the least significant 6 bits of the instruction code register 131 and destination node number register 132 respectively (in steps S5 and S6). Since the "EXT" bit is a logical "1" (in a step S7), the readout address is incremented (in a step S11) to read the contents of the fourth address and the least significant 10 bits of the readout words are written in the bit 6 from the bit 15 of the destination node number register 132 (in a step S13). Since a value of "EXT" bit of the lastly readout word is a logical "0" (in a step S15), the present instruction code "+", and the addition result <7097> of the content <7095> of destination node number register 132 (="0001 1011 1011 0111") and the input node number #2, are outputted.

Since the value of the last readout word of COPY bit is a logical "0" (in a step S9), the process with respect to the inputted packet having the node number <2> end.

As mentioned above, in a case where the destination node number is given by the relative destination node number, even when the relative destination node number overflows beyond the predetermined bit width, the next address of program memory is used as an extended addressing area for the relative destination node number, thereby completing the processing. The present invention is applicable to the program of any size and any number allocation.

Generally, since connections among nodes are localized, it is considered that the relative destination node number is independent of program size, and seldom takes a large value. Actually, when the node number is so allocated that a smaller node number is given sequentially to a nearer node from the input with respect to the test program of 3987 nodes, it is valued that what statistical distribution the relative destination node number shows. The result thereof is shown in the FIG. 8 graph, in which the axis of abscissa shows the relative destination node number, the axis of ordinate percentage of cumulative frequency, and numerals with respect to the respective sections show the number of nodes included therein.

It is easy to understand from the FIG. 8 graph that about 88% of the entire relative destination node numbers are within 63 addresses. In other words, it is meant that even when a bit width of relative destination node number is assumed to be 6 bits, the possibility of requiring the extended bit as above-mentioned is about 10%.

While the conventional program memory has bit width of 21 bits (4 bits of instruction fetching unit and 17 bits of destination designating unit), 12 bits of the embodiment of the invention is. Hence, even when the number of words required in surplus for storing the extended addressing for execution of the present invention is about 10% according to the aforesaid statistics, the size of memory is contracted to a equation of (12×1.1)/21≈0.63. In the embodiment, a space of program memory is of 16 bits, the contraction effect being further remarkable when the program memory space becomes larger. For example, in the case where the program memory space is assumed to be 32 bits, even when the space of relative destination node number is extended to 8 bits and a ratio required by the extended addressing bit is estimated to be 20%, the memory size is given in ##EQU1##

When an actual bit number is substituted, it is multiplied by ##EQU2## which is contractible under a half.

In addition, the above embodiment defines the relative destination node number to be the positive numeral for simplification of description, but it is possible by using signed numeral (represented by two's complement) to send out data with respect to the node having a smaller node number than the node number at the output side. Hence, the present invention is applicable even for the program including loop structure.

Furthermore, in this embodiment, the overflow bit of relative destination node number is allocated to the extended bit, but other methods may be used. For example, the program may be divided in unit of page, the address in the page is represented by, for example, 6 bits, and when the destination node exists beyond the page, it is possible to adopt the method of allocating relative page number to the extended bit.

Also, in the aforesaid embodiment, the instruction fetching unit and destination designating unit at the conventional example of data flow processor are united into a single program memory, and the program memory is disposed in parallel to the instruction executing unit, whereby the redundant input address latch and the decoder or the like are omitted to reduce hardware size.

Thus, the program memory and instruction executing unit are disposed in parallel to each other, whereby a processing latency for executing one instruction comprises two pipeline stages of 1 processing at the matching memory, and 2 processing at the "program memory+instruction executing unit". Hence, a short processing latency not inferior to the conventional data flow processor is obtained. Hence, the response time with respect to a single instruction can be reduced.

As seen from the above, in the data flow processor of the present invention, the destination node number in the program memory is designated by, for example, the relative address from the stored address of the present instruction, whereby the bit width for storing the destination node number is largely reduced, thereby enabling the size of program memory to be reduced.

Generally, the data flow processor is constructed on a computation model suitable for parallel distribution processing and considered to have the prominent characteristic that the multitasking is autonomously executed in parallel without applying special control. However, in the case of the existing method which statically decides the address of program memory for storing therein the respective multitaskings, the task Ta (see FIG. 9) now under execution and another task Tb having a fear of having in common the region of program memory cannot simultaneously be executed even when the program memory has a vacant region. Accordingly, in fact, the existing data flow processor cannot fully utilize its essential characteristic suitable for the multitasking.

On the contrary, in the data flow processor of the invention, since the node number of all the nodes is designated by the relative destination node number from other node, if a vacant region exists in the program memory, new tasking can be loaded from the exterior on a desired vacant region regardless of the absolute address, thereby being executed in parallel to other tasks.

The above describes execution of multitasking on one processor, wherein as shown in FIG. 9, a construction is considered, in which a plurality of data flow processors #O to #N are connected through a network. In this construction, when the respective tasks Ta, Tb and Tc across each processor are to occupy the same program memory in each processor, even for the multiprocessor performing packet-communication with each other through the network, the execution of multitasking and task generation can be carried out, whereby the high speed parallel distribution processing using the plural data flow processors is realizable with ease.

In addition, it is obvious that this invention is applicable for a multiprocessor configuration in which a large and continuous program address space is formed by plurality of data flow processors.

As this invention may be embodied in several forms without departing from the spirit of essential characteristics thereof, the present embodiment is therefore illustrative and not restrictive, since the scope of the invention is defined by the appended claims rather than by the description preceding them, and all changes that fall within the meets and bounds of the claims, or equivalence of such meets and bounds thereof are therefore intended to be embraced by the claims. 

What is claimed is:
 1. A data flow processor for processing a packet including a first data element, an operation code, and a destination node number comprising:a coincidence detecting unit, having an input for receiving said packet and having an output port, for concatenating a second data element identified by said destination node number to said packet to form a two data element packet at said coincidence detecting unit output port; a processing unit, having an input for receiving said first and second data elements and said operation code of said two data element packet and having an output port, for executing the processing specified by said operation code and for outputting a third data element which results from said processing at said processing unit output port; a program memory, having an address input for receiving said destination node number of said two data element packet, for outputting a relative destination node number and an operation code to be executed next, wherein the inputs of said processing unit and said program memory are directly coupled to said output port of said coincidence detecting unit to process data and update said destination node number and said operation code in parallel.
 2. A data flow processor for processing packets, wherein each packet comprises a data element and a destination node number indicating an instruction to be executed on the data element, comprising:a matching memory; a match processor coupled to said matching memory and an input node of the data flow processor, for outputting a two-element packet when a matching packet with a destination node number equal to a destination node number of an input packet input at said input node is found in said matching memory, and for storing said input packet as a stored packet in said matching memory when a matching packet is not found, wherein said match processor removes said matching packet from said matching memory when matched, and wherein said two-element packet comprises a destination node number equal to said matching destination node numbers, an operation code matching an operation code field within at least one of said input packet and said matching packet, a first data element matching said data element of said input packet, and a second data element matching said data element of said matching packet; a program memory, having an address input for receiving, from said matching processor, said destination node number of said two-element packet, said program memory comprising storage locations for relative node values and next operation codes and an output for outputting a relative node value and a next operation code corresponding to said destination node number of said two-element packet, said relative node value being a reduced address of a destination node; an address operation unit, coupled to said match processor and said program memory, for executing a predetermined operation on said destination node number output by said match processor and said relative node value output by said program memory, wherein said predetermined operation generates a next destination node number; a data operation unit, coupled to said match processor, for generating a result element from components of said two-element packet output by said matching processor, said result element being a result of a data operation on said first data element and said second data element of said two-element packet, wherein said data operation is determined by said operation code of said two-element packet; and means coupled to said program memory, said address operation unit, and said data operation unit, for bundling said next operation code from said program memory, said next destination node number from said address operation unit, and said result element from said data operation unit into a new data packet.
 3. The data flow processor of claim 2, wherein said predetermined operation of said destination node number is at least one of logical addition, logical multiplication, logical exclusive OR, or an arithmetic operation.
 4. The data flow processor of claim 2, wherein said relative node value is a relative address of said next destination node relative to said destination node number and said predetermined operation is addition.
 5. A data flow processor for processing packets, wherein each packet comprises a data element and a destination node number indicating an instruction to be executed on the data element, comprising:matching memory means; matching means coupled to said matching memory means and an input node of the data flow processor, for outputting a two-element packet when a matching packet with a destination node number equal to a destination node number of an input packet input at said input node is found in said matching memory means, and for storing said input packet as a stored packet in said matching memory means when a matching packet is not found, wherein said matching means removes said matching packet from said matching memory means when matched, and wherein said two-element packet comprises a destination node number equal to said matching destination node numbers, an operation code matching an operation code field within at least one of said input packet and said matching packet, a first data element matching said data element of said input packet, and a second data element matching said data element of said matching packet; program memory means coupled to said matching means, for outputting a relative node value and a next operation code corresponding to said destination node number of said two-element packet input to said program memory means, said program memory means comprising storage locations for relative node values and next operation codes, said relative node values being characterized as reduced addresses of destination nodes; address operation means, coupled to said matching means and said program memory means, for executing a predetermined operation on said destination node number output by said matching means and said relative node value output by said program memory means, wherein said predetermined operation generates a next destination node number; data operation means, coupled to said matching means, for generating a result element from said two-element packet output by said matching means, said result element being a result of a data operation on said first data element and said second data element of said two-element packet, wherein said data operation is determined by said operation code of said two-element packet; and means coupled to said program memory means, said address operation means, and said data operation means, for bundling said next operation code from said program memory means, said next destination node number from said address operation means, and said result element from said data operation means into a new data packet.
 6. A data flow processor for processing packets, wherein each packet comprises a data element and a destination node number indicating an instruction to be executed on the data element, comprising:a matching memory; a match processor coupled to said matching memory and an input node of the data flow processor, for matching an input packet input at said input node with a stored matching packet stored in said matching memory, said stored matching packet comprising a matching destination node number equal to a destination node number of said input packet, wherein said match processor outputs said input packet and said stored matching packet when a match is found, and stores said input packet as a stored packet in said matching memory when a matching packet is not found, and wherein said input packet comprises said destination node number and a first data element and said stored matching packet comprises a second data element; a program memory, having an address input for receiving, from said match processor, said destination node number, said program memory comprising storage locations for relative node values, and an output for outputting a relative node value corresponding to said destination node number, said relative node value being a reduced address of a destination node; an address operation unit, coupled to said match processor and said program memory, for executing a predetermined operation on said destination node number output by said match processor and said relative node value output by said program memory, wherein said predetermined operation generates a next destination node number; a data operation unit, coupled to said match processor, for generating a result element, said result element being a result of a data operation on said first and second data elements output by said match processor; and means coupled to said address operation unit and said data operation unit, for bundling said next destination node number from said address operation unit and said result element from said data operation unit into a new data packet.
 7. The data flow processor of claim 6, wherein said predetermined operation on said destination node number is at least one of logical addition, logical multiplication, logical exclusive OR, or an arithmetic operation.
 8. The data flow processor of claim 6, wherein said relative node value is a relative address of said next destination node relative to said destination node number and said predetermined operation is addition.
 9. A data flow processor for processing packets, wherein each packet comprises a data element and a destination node number indicating an instruction to be executed on the data element, comprising:a matching memory; a match processor coupled to said matching memory and an input node of the data flow processor, for matching an input packet input at said input node with a stored matching packet stored in said matching memory, said stored matching packet comprising a matching destination node number equal to a destination node number of said input packet, wherein said match processor output said input packet and said stored matching packet when a match is found, and stores said input packet as a stored packet in said matching memory when a matching packet is not found, and wherein said input packet comprises said destination node number, an operation code, and a first data element, and said stored matching packet comprises as least a second data element; a program memory, having an address input for receiving, from said match processor, said destination node number, said program memory comprising storage locations for next destination node values and next operation codes and an output for outputting a next destination node value and a next operation code corresponding to said destination node number; a data operation unit, coupled to said match processor, for generating a result element, said result element being a result of a data operation on said first data element and said second data element, wherein said data operation is determined by said operation code of said input packet; and means coupled to said program memory and said data operation unit, for bundling said next operation code and said next destination node number from said program memory, and said result element from said data operation unit into a new data packet. 